<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
<link href="./css/style.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" language="javascript">
<!--
	function viewAssignUser(){
		window.location.href = "viewAssignUser.html";
		window.location.target = "main";
	}
	
	function addRole(){
		window.location.href = "./role.do?action=preAddRole";
		window.location.target = "main";
	}
	
	function updateRole(){
		window.location.href = "updateRole.html";
		window.location.target = "main";
	}
	
	function viewRole(){
	window.location.href = "./role.do?action=viewRole";
	window.location.target = "main";
	}
-->
</script>
</head>
<body>
	<a class="common_title">>> 您现在的位置：基础设置 >> 角色设置</a>
	
	<div class="tools">
		<a class="save" href="javascript:addRole();" title="新增角色" hidefocus="true">新增</a>&nbsp;&nbsp;
		<a class="del" href="#" title="删除角色" hidefocus="true">删除</a>&nbsp;&nbsp;
	</div>
	
	<table class="table_style" style="text-align: center;">
		<tr>
			<td class="title">角色编号</td>
			<td class="title">角色名称</td>
			<td class="title">角色描述</td>
			<td class="title">保护上限</td>
			<td class="title">操作</td>
		</tr>
		<tr>
			<td>20090605001</td>
			<td><a href="javascript:viewRole();">角色名称</a></td>
			<td>角色描述角色描述角色描述角色描述</td>
			<td>保护上限</td>
			<td>
				<img class="btn_img" src="./images/a_update.gif" onclick="updateRole()" title="修改角色">&nbsp;&nbsp;
				<img class="btn_img" src="./images/a_viewuser.gif" onclick="viewAssignUser()" title="查看分配用户">&nbsp;&nbsp;
			</td>
		</tr>
		<tr>
			<td>20090605001</td>
			<td><a href="javascript:viewRole();">角色名称</a></td>
			<td>角色描述角色描述角色描述角色描述</td>
			<td>保护上限</td>
			<td>
				<img class="btn_img" src="./images/a_update.gif" onclick="updateRole()" title="修改角色">&nbsp;&nbsp;
				<img class="btn_img" src="./images/a_viewuser.gif" onclick="viewAssignUser()" title="查看分配用户">&nbsp;&nbsp;
			</td>
		</tr>
		<tr>
			<td>20090605001</td>
			<td><a href="javascript:viewRole();">角色名称</a></td>
			<td>角色描述角色描述角色描述角色描述</td>
			<td>保护上限</td>
			<td>
				<img class="btn_img" src="./images/a_update.gif" onclick="updateRole()" title="修改角色">&nbsp;&nbsp;
				<img class="btn_img" src="./images/a_viewuser.gif" onclick="viewAssignUser()" title="查看分配用户">&nbsp;&nbsp;
			</td>
		</tr>
		<tr>
			<td class="title" colspan="5">上一页 下一页</td>
		</tr>
	</table>
</body>
</html>